class Installer(object):
    def __init__(self):
        self.requires = [
            'containerd.io',
            'docker-buildx-plugin',
            'docker-ce-cli',
            'docker-scan-plugin',
            'docker-ce-rootless-extras',
            'docker-ce'
        ]
        self.suffix = ''  # .deb/.rpm

    def filter(self, file_list):
        if not self.suffix:
            return True
        return [x for x in file_list if x.endswith(self.suffix)]
